package com.dolphin.business.entity;

import java.util.Date;

import com.dolphin.business.common.entity.POJO;

/**
 * 聊天信息实体
 * @author Administrator
 *
 */
public class ChatMessage implements POJO {

	private static final long serialVersionUID = 1L;

	private String id;

	/**
	 * 发送者
	 */
	private User sender;

	/**
	 * 接收者
	 */
	private User receiver;

	/**
	 * 消息
	 */
	private String msg;

	/**
	 * 时间
	 */
	private Date date;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public User getSender() {
		return sender;
	}

	public void setSender(User sender) {
		this.sender = sender;
	}

	public User getReceiver() {
		return receiver;
	}

	public void setReceiver(User receiver) {
		this.receiver = receiver;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}
